package com.gdust.hzx.manager.mapper;

import com.gdust.hzx.model.dto.order.OrderStatisticsDto;
import com.gdust.hzx.model.entity.order.OrderStatistics;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * ClassName: OrderStatisticsMapper
 * Package: com.gdust.spzx.manager.mapper
 * Description:
 *
 * @Author syun
 * @Create 2024/12/24 16:54
 * @Version 1.0
 */
@Mapper
public interface OrderStatisticsMapper {

    /**
     * 添加到统计结果表
     * @param orderStatistics
     */
    void insert(OrderStatistics orderStatistics);

    /**
     *根据dto条件查询统计结构数据
     * @param orderStatisticsDto
     * @return
     */
    List<OrderStatistics> selectList(OrderStatisticsDto orderStatisticsDto);
}
